home *** CD-ROM | disk | FTP | other *** search
/ The Apple Sales & Marketi…ce Library 1999 February / PowerSales Feb-99.toast / pc / powersal.esf next >
Text File  |  1999-01-27  |  3KB  |  147 lines

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV=REFRESH CONTENT="139; URL=seg2.html">
  4. <TITLE>PowerSales</TITLE>
  5.  
  6. <script language = "JavaScript">
  7.  
  8. <!--
  9.  
  10. var
  11.   currentSegment = 1;
  12.   maxsegs = 5;
  13.   themessage="";
  14.     
  15. function loadSegment(x) {
  16.     
  17.      seg = "seg" + document.segment.previewseg.value + ".html";
  18.  
  19.      document.location.href = seg;
  20.  
  21. }
  22.  
  23.   img_1 = new Image(0,0);
  24.   img_1.src="images/1.jpg";
  25.   
  26.   img_2 = new Image(0,0);
  27.   img_2.src="images/2.jpg";
  28.  
  29.   img_3 = new Image(0,0);
  30.   img_3.src="images/3.jpg";
  31.   
  32.   img_4 = new Image(0,0);
  33.   img_4.src="images/4.jpg";
  34.   
  35.   img_5 = new Image(0,0);
  36.   img_5.src="images/5.jpg";
  37.   
  38.  
  39.   
  40. // filename=something_x, where imgst is a number and imgName=img
  41.  
  42. function imgChange(x) {
  43.  
  44. if (currentSegment + x < maxsegs + 1 && currentSegment + x > 0) {
  45.  
  46.      currentSegment = currentSegment + x;
  47.      imgc = eval("img_" + currentSegment + ".src");
  48.      document.viewer.src = imgc;
  49.      initStatus();
  50.      document.segment.previewseg.value=currentSegment;
  51.      
  52.     }
  53.  
  54. }
  55.  
  56. function initStatus() {
  57.  
  58. if (currentSegment==1) {themessage="Intro to PowerSales"}
  59. if (currentSegment==2) {themessage="QuickTime 3 Revisited"}
  60. if (currentSegment==3) {themessage="Apple Resource Library"}
  61. if (currentSegment==4) {themessage="Developer Profile: Terran Int."}
  62. if (currentSegment==5) {themessage="Credits"}
  63.  
  64. document.segment.summary.value=themessage;
  65. }
  66.  
  67. // -->
  68.  
  69. </script>
  70.  
  71.  
  72. </HEAD>
  73. <BODY background="images/wholeimac.jpg" onLoad="initStatus()">
  74.  
  75. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
  76. <TR>
  77.     <TD><img src="images/spacer.gif" height=91 width=124></TD>
  78.     <TD><img src="images/spacer.gif" height=1 width=320></TD>
  79.     <TD><img src="images/spacer.gif" height=1 width=65></TD>
  80. </TR>
  81. <TR>
  82.     <TD><img src="images/spacer.gif" height=290 width=1></TD>
  83.     <TD VALIGN=TOP><center>
  84. <EMBED NAME="powersales" SRC="movies/1.mov" TARGET="myself" WIDTH="320" HEIGHT="254" BORDER="0" CONTROLLER="true" VOLUME=50 LOOP=FALSE AUTOPLAY=TRUE PLUGINSPAGE="http://www.apple.com/quicktime/download/"></TD>
  85. </center>
  86. </TD>
  87.     <TD></TD>
  88. </TR>
  89. </TABLE>
  90.  
  91. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
  92. <TR>
  93.     <TD><img src="images/spacer.gif" height=49 width=110></TD>
  94.     <TD>
  95.     <a href="" name=back onClick="imgChange(-1); return false">
  96.     <img border=0 src="images/spacer.gif" height=40 width=53></a></TD>
  97.     <TD valign=top><center>
  98.     <img src="images/spacer.gif" height=1 width=100><br>
  99.     <img name=viewer border=1 src="images/1.jpg" height=49 width=65>
  100.         </center>
  101.         </TD>
  102.     <TD><a href="" name=forward onClick="imgChange(1); return false">
  103.     <img border=0 src="images/spacer.gif" height=40 width=53></a></TD>
  104. </TR>
  105.  
  106. <TR>
  107.     <TD colspan=5></TD>
  108. </TR>
  109.  
  110. <TR>
  111.     <TD></TD>
  112.     <TD valign=bottom><center>
  113.     
  114.     <form name=segment>
  115.     <input type=text name=currentsegment size=2 value=1>
  116.     </center></TD>
  117.     <TD><center>
  118.     
  119.     <a href="" onClick="loadSegment(); return false">
  120.     <img border=0 src="images/spacer.gif" height=32 width=60></a>
  121.     
  122.         </center>
  123.         </TD>
  124.     <TD valign=bottom><center>
  125.     
  126.     <input type=text name=previewseg size=2 value=1>
  127.     </center></TD>
  128. </TR>
  129.  
  130. <TR>
  131.     <TD><img src="images/spacer.gif" height=51 width=110></TD>
  132.     
  133.     <TD valign=bottom colspan=3>
  134.     <center>
  135.     
  136.     <input type=text name=summary size=32 value="">
  137.     </form>
  138.     </center>
  139.     </TD>
  140.     <TD></TD>
  141. </TR>
  142.  
  143. </TABLE>
  144.  
  145. </BODY>
  146. </HTML>
  147.